<template>
  <div class="pay_bind">
    <van-nav-bar
      title="绑定支付宝"
      left-arrow
      @click-left="onClickLeft"
    />
    <div class="pay_bind_view">
      <div class="pay_bind_view_letticon">
        <van-icon name="https://b.yzcdn.cn/vant/icon-demo-1126.png" size="80px"/>
      </div>
      <div class="pay_bind_view_text">
        <span>学习艺术家</span>
        <span>187******78</span>
      </div>
      <div class="pay_bind_view_righticon">
        <van-icon name="arrow" size="45px"/>
      </div>
    </div>
    <div class="pay_bind_buttom"  @click="$router.push('/profile/paymentSet')">
      <span>绑定</span>
    </div>
  </div>
</template>

<script>
export default {
  data(){
    return {

    }
  },
  methods:{
    onClickLeft(){
      this.$router.push('/wechatPayment')
    }
  }
}
</script>

<style lang="less">
.pay_bind_view{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 160px;
  background-color: #B3D8FF;
  margin-top: 20px;
  .pay_bind_view_letticon{
    display: flex;
    justify-content: center;  
    align-items: center;
    width: 30%;
    height: 100%;
    // border: 1px solid red;
  }
  .pay_bind_view_text{
    width: 40%;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    // border: 1px solid rgb(167, 167, 167);
    font-size: 20px;
    text-align: left;
    font-family: PingFangSC-regular;
  }
  .pay_bind_view_righticon{
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.pay_bind_buttom{
  margin: 60px auto;
  width: 80%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 19px;
  background-color: rgba(98, 166, 235, 100);
  color: rgba(255, 255, 255, 100);
  font-size: 20px;
  text-align: center;
  font-family: Microsoft Yahei;
}










.van-nav-bar__arrow {
    margin-right: 4px;
    font-size: 25px;
  }
  .van-nav-bar__title {
    max-width: 60%;
    margin: 0 auto;
    color: #323233;
    font-weight: 500;
    font-size: 20px;
  }
  .van-nav-bar .van-icon {
    color: #151515;
  }
</style>